package com.i.me;

import com.i.me.login.entity.User;
import com.library.base.http.result.ApiResult;
import com.library.base.http.service.BaseService;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;

public interface MyService {
    @POST("http://192.168.1.24:8989/xwk/login")
    @FormUrlEncoded
    Observable<ApiResult<User>> login(@Field("userName") String userName, @Field("password") String password);
}
